package com.qf.stat;

import org.springframework.scheduling.annotation.Scheduled;

/**
 * <p>title: com.qf.stat</p>
 * <p>Company: wendao</p>
 * author zhuximing
 * date 2021/9/24
 * description:
 */
//@Component
public class StatDemo {


    @Scheduled(cron = "* * * * * ?")  //每秒执行一次
    public  void  test1(){
        System.out.println("hello");
    }
}